﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Danhbaweb.master" AutoEventWireup="true" CodeFile="Search.aspx.cs" Inherits="Search" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<style type="text/css">
    .content_panels img{margin:0 5px 0 5px;}
</style>
    <div class="content_area1">
        <h1>Kết quả tìm kiếm</h1>
        <div>
            <asp:Repeater ID="rptSearch" runat="server">
                <ItemTemplate>
                    <div class="content_panels">
                        <a href='<%# ResolveUrl("~/"+GetCompanyName(Eval("EStore_Name").ToString())+"/Thongtindoanhnghiep.html") %>'>
                            <img src='<%#(DataBinder.Eval(Container.DataItem,"EStore_Logo")==null)?ResolveUrl("~/images/logo_box.jpg") : ResolveUrl("~/User/avatar/" + DataBinder.Eval(Container.DataItem, "EStore_Logo")) %>' alt='<%# DataBinder.Eval(Container.DataItem, "EStore_Logo")%>' align="left" />
                        </a>
                        <h4>
                            <a href='<%# ResolveUrl("~/"+GetCompanyName(Eval("EStore_Name").ToString())+"/Thongtindoanhnghiep.html") %>'>
                                <%# DataBinder.Eval(Container.DataItem, "EStore_Name")%>
                            </a>
                        </h4>
                        <h5>
                            [P] <%# DataBinder.Eval(Container.DataItem, "Estore_HomePhone")%><br />
                            [M]: <%# DataBinder.Eval(Container.DataItem, "EStore_MobilePhone")%> <br />
                            [E]: <%# DataBinder.Eval(Container.DataItem, "Users_Email")%>
                        </h5>
                        <br class="clear" />
                    </div>
                </ItemTemplate>
            </asp:Repeater>
            <asp:Label ID="lblNorecord" runat="server" Text="không có dữ liệu" Visible="false" style="margin-left:20px; color:#c00000; font-weight:bold"></asp:Label>
            <div style="margin-left:20px">
                <ul id="paging">
                    <li>
                        <asp:PlaceHolder ID="plcPaging" runat="server" />
                    </li>
                </ul>
            </div>
        </div>
        <img src="<%= ResolveUrl("~/images/bottom.jpg")%>" align="absbottom" alt="" />
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
</asp:Content>

